package com.wpp.service;

import com.wpp.annotation.RpcService;
import org.springframework.stereotype.Service;

/**
 * @author by wpp25
 * @Classname UserServiceImpl
 * @Description
 * @Date 2020/11/25 20:36
 */
@RpcService(serviceClass = IUserService.class)
@Service
public class UserServiceImpl implements IUserService {

//    @Resource
//    private UserDao userDao;

    @Override
    public String sayHello(String msg) {
        System.out.println("服务端接收到的消息是： " + msg);
//        System.out.println(userDao.findAll());
        return "服务端返回的数据：" + msg;
    }


}
